home *** CD-ROM | disk | FTP | other *** search
/ Champak Vol A-4 / (Vol A-4) Vol. A4.iso / Games / puppy_red.swf / scripts / frame_14 / DoAction_2.as next >
Text File  |  2008-03-11  |  432b  |  21 lines

  1. stop();
  2. _root.enermyNum = _root.enermyNum + 1;
  3. if(_root.enermyNum > 8)
  4. {
  5.    _root.enermyNum = 5;
  6. }
  7. win1._visible = 0;
  8. win2._visible = 0;
  9. randNum = random(2) + 1;
  10. eval("win" + randNum)._visible = 1;
  11. wintime = Math.floor(getTimer() / 1000);
  12. win3.onEnterFrame = function()
  13. {
  14.    windelay = Math.floor(getTimer() / 1000) - wintime;
  15.    if(windelay > 1)
  16.    {
  17.       totalMovie.scoreView();
  18.       gotoAndStop(9);
  19.    }
  20. };
  21.